<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/system/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/system/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">角色标识</label>
		<div class="layui-input-block">
			<input type="hidden" name="id" class="roleId" th:value="${srb.id}">
			<input type="text" class="layui-input name" required="required"  lay-verify="name" placeholder="角色名称(字母标示)" th:value="${srb.name}">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">角色名称</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input title" required="required" lay-verify="title" placeholder="角色名称" th:value="${srb.title}">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">角色描述</label>
		<div class="layui-input-block">
			<input type="hidden" class="id" th:value="${srb.id}"/>
			<input type="text" class="layui-input descr" required="required" lay-verify="descr" placeholder="角色描述" th:value="${srb.descr}">
		</div>
	</div>
	<div class="layui-row">
		<div class="magb15 layui-col-md4 layui-col-xs12">
			<label class="layui-form-label">角色状态</label>
			<div class="layui-input-block">
				<select name="roleStatus" class="status" lay-filter="roleStatus">
					<option value="1">正常使用</option>
					<option value="2">限制用户</option>
				</select>
			</div>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" onclick="sub()">立即提交</button>
			<button type="reset" id="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/sysRole/updateRole.js"></script>
</body>
</html>